Using
Macros in Project Files
You can add
macros to the [MACROS] section of a project file. These macros are run whenever
a user selects the specified keyword in the index.
You can
create new menu items and buttons for Windows Help by using such macros as CreateButton
and InsertMenu. These macros define other help macros and associate them
with the menu items and buttons. Windows Help executes these macros when the
user chooses a corresponding menu item or button. Macros that create help
buttons, menus, or menu items remain in effect until the user quits Windows
Help or opens a new help file.
You can
extend the capabilities of Windows Help by developing your own dynamic-link
libraries (DLLs) and defining help macros that call functions in the libraries.
To define help macros that call DLL functions, you must register each function
and its corresponding library by using the RegisterRoutine macro in the
[CONFIG] section of the project file.